﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Module.Interfaces.Common;
using Microsoft.Practices.Unity;
using Core.Module.Interfaces.Manager;
using Core.Module.Interfaces;
using Core.Module.Manager;
using Core.Module.Controller;
using Core.Module.Interfaces.Model;
using Core.Module.Model;
using Module.PageComments.Manager;

namespace Module.MultiSiteFields
{
    public class TypeRegistrator:ITypeRegistrator
    {
        public IUnityContainer RegisterTypes(IUnityContainer container)
        {
            container.RegisterInstance<IApplicationTree>("comments manager",new CommentsManager(), new ContainerControlledLifetimeManager());
            return container;
        }
    }
}
